package com.example.springbootproject.service;/*
 *@author 王志威
 *@datatime 2024/4/14 15:34
 *@editnote
 */

import com.example.springbootproject.pojo.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.security.NoSuchAlgorithmException;


public interface LoginService {
    //登录验证
    Admin login(String username, String encryptedPassword) throws NoSuchAlgorithmException;
}
